home *** CD-ROM | disk | FTP | other *** search
-
- #include <stdio.h>
- #include <stdlib.h>
- #include <exec/types.h>
- #include <intuition/intuition.h>
- #include <exec/execbase.h>
- #include <exec/memory.h>
- #include <libraries/dos.h>
- #include <libraries/dosextens.h>
- #include <String.h>
- #include <intuition/simplereq.h>
- #include <exec/execbase.h>
- #include <devices/bootblock.h>
- #include <devices/trackdisk.h>
- #include <proto/all.h>
- #include <ctype.h>
-
-
- struct VirusInfo {
- char *Name; /* It's Textual Name */
- short NumFound; /* How many we've found */
- short Flags; /* Flags... */
- char LongWordOffsets[2]; /* For finding on Disk - Offset */
- ULONG WhatToExpect[2]; /* and what to look there for */
- ULONG CoolCapture; /* Cool Capture Vector... */
- short HowToLook[2]; /* See defines above... */
- short LookOffset[2];
- unsigned long WhatToLookFor[2];
-
- short DoToThis[2];
- short AtOffset[2]; /* Removal Data */
- unsigned long WithThis[2];
-
- char (*Handler)(void); /* Function to call that will
- do additional checking */
- };
-
-
- #define VF_COPYCOUNT (1<<0)
-
- /*
- When looking, if this flag is set, it means start here, and maybe use
- HTL_INDIRECT to look through it rather than at it. When Setting,
- if this is set, then write to THIS address, and assume INDIRECT
- to get the data from. IE, you could set the DOIO vector to point
- to what is at the address it's at now plus 16...
- */
- #define HTL_DOIO (1<<2)
- #define HTL_TDM1C (1<<3)
- #define HTL_LOOKINDIRECT (1<<4)
- #define HTL_SETTO (1<<5)
- #define HTL_ABSOLUTE (1<<6)
- #define HTL_CLEARKICKTAGS (1<<7)
- #define HTL_SETLONG (1<<8)
-